package per.ace.validate.common;

import lombok.Getter;

/**
 * @program: springbootDemo
 * @description: 自定义异常处理类
 * @author: ace
 * @Date: 2020-06-12 10:56
 */
@Getter
public class MyException extends RuntimeException{
    private String code;
    private String msg;

    public MyException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
